<?php
#
# author: Cody Sorgenfrey
# (c)2012 South Hill Calvary Chapel
#

include_once("../mysql/database_info.php");
include_once("common.php");
include_once("../mysql/common.php");

$title = "Home Fellowship Worship"; 
$meta_key= 'worship, home, fellowship, home fellowship';
$meta_desc= "Worship videos for Home Fellowship Groups";
$morehtml= NULL;
$morejava= NULL;
startPage($title, $meta_key, $meta_desc, $morehtml, $morejava);
connect_select_test("HFWorshipVideos");
$result = mysql_query("SELECT * FROM `HFWorshipVideos`");
printf("<div style='text-align:center;'>\n");
while ($videos= mysql_fetch_array($result)){
	if (userIsTab()){
		printf("<div style='width:360px;height:202px;display:inline-block;'>\n");
	} else {
		printf("<div style='width:135px;height:76px;display:inline-block;'>\n");
	}
	printf("%s", $videos['link']);
	printf("</div>\n");
}
printf("</div>\n");
endPage();
?>